Automattic\WooCommerce\Admin\Features\Onboarding D

Total Complexity 167
Dependencies 9
Dependents 9
Total lines 1,112
Lines of code 695
Logical lines of code 332
Comment lines 292
Methods 44
Properties 1

Methods 44

Method Rating Maintainability Complexity Lines of code
admin_redirects()
A
50 14 26
send_profile_data()
A
42 11 49
append_product_data()
A
47 11 32
add_help_tab()
A
45 8 39
get_themes()
A
48 8 32
sort_woocommerce_themes()
A
56 8 18
should_show_profiler()
S
59 8 13
component_settings()
S
51 5 26
reset_extended_task_list()
S
56 5 18
reset_task_list()
S
56 5 18
maybe_mark_complete()
S
60 5 12
preload_options()
S
48 3 36
finish_square_connect()
S
58 4 15
reset_profiler()
S
50 3 30
trigger_profile_completed_action()
S
65 5 9
finish_paypal_connect()
S
59 4 14
get_allowed_themes()
S
61 4 11
get_allowed_industries()
S
46 1 47
overwrite_paypal_redirect()
S
63 4 9
redirect_wccom_install()
S
63 4 10
add_actions()
S
51 2 28
track_onboarding_toggle()
S
62 3 12
get_allowed_product_types()
S
49 1 34
activate_and_install_jetpack_ahead_of_wcpay()
S
68 3 7
is_home_or_setup_wizard_page()
S
66 3 8
redirect_old_onboarding()
S
67 3 7
is_running_from_async_action_scheduler()
S
69 3 6
send_profile_data_on_update()
S
70 3 6
send_profile_data_on_connect()
S
68 3 7
get_onboarding_allowed_plugins()
S
50 1 29
add_filters()
S
59 2 13
remove_install_notice()
S
71 2 6
should_show_tasks()
S
77 2 3
overwrite_square_redirect()
S
68 2 7
add_uploaded_theme_data()
S
66 2 8
is_loading()
S
70 2 7
__construct()
S
69 2 8
get_instance()
S
71 2 6
delete_themes_transient()
S
80 1 3
get_theme_data()
S
64 1 10
has_woocommerce_support()
S
76 1 4
set_woocommerce_setup_jetpack_opted_in()
S
80 1 3
preload_settings()
S
77 1 4
add_toggle_actions()
S
71 1 5